import { createRouter, createWebHashHistory } from 'vue-router'
const Home = () => import('@views/home.vue')
const About = () => import('@views/about.vue')

export default createRouter({
  history: createWebHashHistory(), //hash模式
  routes: [
    {
      path: '/',
      component: Home
    },
    {
      path: '/about',
      component: About
    }
  ]
})
